//
//  main.m
//  hff4-7
//
//  Created by mac on 16-4-7.
//  Copyright (c) 2016年 ztt4-6. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Atom.h"
#import "Person.h"
#import "Mous.h"
#import "Retorant.h"
#import "Fandian.h"
#import "Manager.h"
int main(int argc, const char * argv[])
{

    @autoreleasepool {
        
        // insert code here...
        /*NSLog(@"Hello, World!");
        Atom *atom=[[Atom alloc]init];
        NSLog(@"Atom chemical element name:%@",atom.chemicalElement);
        Person *p=[[Person alloc]init];
        p.name=@"黄锋大人";
                
        Mous *m=[[Mous alloc]init];
        m.name=@"米老鼠";
        NSArray *arr=@[p,m];
        for (int i=0; i<arr.count; i++) {
            Animal *ani=arr[i];
            [ani eat];
            [ani sleep];
        }
    
        
        Retorant * reto=[[Retorant alloc]init];
        Customer * cust=[[Customer alloc]init];
        cust.delegata=reto;
        [cust comeToretorant];*/
        
        Fandian *fand=[[Fandian alloc]init];
        Guke *gu=[[Guke alloc]init];
        gu.elegata=fand;
        fand.name=@"风年渡";
        [gu comeFandian];
        
        
        Manager* man=[[Manager alloc]init];
        Login* log=[[Login alloc]init];
        log.delegata=man;
        [log getName];

    }

    return 0;
}

